Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Fix Json serializer reflection - #433

Closed
David Bennett (dkbennett) wants to merge 1 commit into
mainfrom
user/dkbennett/jsonreflectionfix
Closed

Fix Json serializer reflection#433
David Bennett (dkbennett) wants to merge 1 commit into
mainfrom
user/dkbennett/jsonreflectionfix

Conversation

@dkbennett

Copy link
Copy Markdown
Member

Summary of the pull request

Sets JsonSerializer reflection default back to .Net 7 compat.
 

References and relevant issues

Same fix in Azure Extension Repo: microsoft/DevHomeAzureExtension#135

Detailed description of the pull request / Additional comments

Migration to .Net 8 changed the Json Serializer reflection default. This sets it back to .Net 7 for compat. There may be work here in the future to be able to disable this, but this will get the extension working again.

Note that this does not repro on Debug builds, must build Release to see the bug and verify fix.

Validation steps performed

  • Verified bug repros on Release build and does not repro with the fix.

PR checklist

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reflection-based serialization has been disabled error on adding Account

1 participant